package com.caocaog.market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caocaog.market.modules.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 商品分类表
 * @Author: jeecg-boot
 * @Date:   2021-11-11
 * @Version: V1.0
 */
@Data
@TableName("mk_goods_sort")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mk_goods_sort对象", description="商品分类表")
public class GoodsSort  extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**店铺id*/
	@Excel(name = "店铺id", width = 15)
    @ApiModelProperty(value = "店铺id")
    @Dict(dictTable = "mk_shop_basic",dicCode = "id",dicText = "name")
    private String shopId;
	/**属性名称*/
	@Excel(name = "属性名称", width = 15)
    @ApiModelProperty(value = "属性名称")
    private String name;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String mark;
	/**是否删除*/
	/*@Excel(name = "是否删除", width = 15, dicCode = "mk_whether")
	@Dict(dicCode = "mk_whether")
    @ApiModelProperty(value = "是否删除")
    private String delFlag;*/
    /**是否显示*/
    @Excel(name = "是否显示", width = 15, dicCode = "mk_whether")
    @Dict(dicCode = "mk_whether")
    @ApiModelProperty(value = "是否显示")
    private String isShow;
    /**排序*/
    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**属性名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "属性名称")
    private String sortName;
}
